{if $view}
<div id="tag">
    {foreach from=$aTags item=Val name=tag}
    {if ($phpfox.iteration.tag < 15) }
    <a href="{url link='answer.question' tag=$Val.key}" class="{$Val.level}">{$Val.key}</a>
    {/if}
    {/foreach}
</div>
{/if}